package com.aiti.lulian.vo.crm;

import com.aiti.base.core.base.vo.BaseVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@ApiModel("CRM跟进记录VO")
@Data
public class CrmFollowRecordVo extends BaseVo {

    @ApiModelProperty("主键")
    private String baseId;

    /**
     * '1'：客户，'2'：商机，'3'：合同
     */
    @ApiModelProperty("跟进对象类型")
    private String objectType;

    @ApiModelProperty("跟进对象ID")
    private String objectId;

    @ApiModelProperty("跟进类型")
    private String followType;

    @ApiModelProperty("跟进内容")
    private String content;

    @ApiModelProperty("客户：跟进状态，商机：销售阶段，合同：合同状态")
    private String status;

    @ApiModelProperty("关联的联系人姓名")
    private String linkman;

    @ApiModelProperty("关联的联系人ID")
    private String linkmanId;

    @ApiModelProperty("实际跟进时间")
    private Date practicalFollowTime;

    @ApiModelProperty("实际跟进时间Str")
    private String practicalFollowTimeStr;

    @ApiModelProperty("下次跟进时间")
    private Date nextFollowTime;

    @ApiModelProperty("下次跟进时间Str")
    private String nextFollowTimeStr;

    @ApiModelProperty("创建者（填写人）")
    private String creator;

    @ApiModelProperty("填写人姓名")
    private String creatorName;

    @ApiModelProperty("创建时间")
    private Date baseCreateTime;

    @ApiModelProperty("创建时间Str")
    private String baseCreateTimeStr;

    @ApiModelProperty("关联的客户")
    private String associatedCustomer;

    @ApiModelProperty("关联的商机")
    private String associatedOpportunity;

    @ApiModelProperty("关联的合同")
    private String associatedContract;
}